package com.cmee.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.log4j.Log4j2;

@RestController
@Log4j2
public class TestController {

	@GetMapping("/echo/{string}")
	public String echo(@PathVariable String string) {
		log.info("Provider");
		return "Hello Nacos Discovery " + string;
	}
	
}
